import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import NutUI from '@nutui/nutui'
import '@nutui/nutui/dist/nutui.css'
import axios from 'axios'

NutUI.install(Vue)
axios.defaults.baseURL = 'https://oa.itop100.shop'
axios.defaults.headers.common['Content-Type'] = 'application/json'
axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'
Vue.prototype.$axios = axios

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
